package com.jia.lidao.network.http.request.impl;

import com.jia.lidao.Constans;
import com.jia.lidao.enity.Message;
import com.jia.lidao.network.http.request.AbstractRequest;
import com.lidroid.xutils.http.client.HttpRequest;

import org.apache.http.Header;

import java.lang.reflect.Type;
import java.util.List;

/**
 * 查询消息分类
 * 
 * Created by czhang on 17/12/18.
 */
public class MessageCategoryRequest extends AbstractRequest {

	@Override
	public String getUrl() {
		return Constans.BASEURL + "/message/category";
	}

	@Override
	public void initRequestParams() {

	}

	@Override
	public List<Header> getHeaders() {
		return null;
	}

	@Override
	public Type getResultType() {
		return Message.class;
	}

	@Override
	public HttpRequest.HttpMethod getRequestMethod() {
		return HttpRequest.HttpMethod.GET;
	}
}
